package com.liumuxian.base.pojo;

import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;


//积分详情表
@Entity
@Data
@Table(name = "tb_integraldata")
public class IntegralData implements Serializable{
    @Id
    @Column(name = "id",length = 20)
    private String id;
    @Column(name = "uid",length = 20)
    private String uid;//用户id
    @Column(name = "integral",length = 20)
    private long integral;//(为正表示获取到的积分， 为负表示消耗的积分)
    @Column(name = "integraltype",length = 20)
    private String integraltype;//积分属性
    @Column(name = "state",length = 1)
    private Integer state;//状态
    @Column(name = "creatdata")
    private Date creatdata;//创建时间
    @Column(name = "updatedate")
    private Date updatedate;//修改时间
    @Column(name = "ordersid")
    private String ordersid;//修改时间


}
